Routines (alphabetical) > Routines: H > HDF-EOS Routines > EOS_QUERY

EOS_QUERY

The EOS_QUERY function returns information about the makeup of an HDF-EOS file.

Syntax

Result = EOS_QUERY( Filename, [Info] )

Return Value

This function returns integer value of 1 if the file is an HDF file with EOS extensions, and 0 otherwise.

Arguments

Filename

A scalar string containing the name of the file to query.

Info

Returns an anonymous structure containing information about the contents of the file. The returned structure contains the following fields:

Fields of the Info Structure

Field

IDL Data Type

Description

GRID_NAMES

String

Comma-delimited string containing the names of grids

NUM_GRIDS

Long

Number of grids in file

NUM_POINTS

Long

Number of points in file

NUM_SWATHS

Long

Number of swaths in file

POINT_NAMES

String

Comma-delimited string containing the names of points

SWATH_NAMES

String

Comma-delimited string containing the names of swaths

Version History

 

5.3

Introduced